<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<script type="text/javascript" src="__PUBLIC__/js/jQuery/jquery.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jQuery/plugin/thumb.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jQuery/plugin/artDialog/jquery.artDialog.js?skin=default"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jQuery/plugin/artDialog/plugins/iframeTools.js"></script>
		<php>
			if (isset($_SESSION['the_end_thumb_cut'])){
				$thumb_photo_exists = $_SESSION['the_end_thumb_cut'];
			}else{
				$thumb_photo_exists = '';
			}
		</php>
		<script type="text/javascript">
			$(function(){
				var thumb_data = '{$thumb_photo_exists}';
				if (thumb_data != ''){
					art.dialog.data('thumb', thumb_data);// 存储数据
				}
				
				$('#thumb_submit').click(function(){
					art.dialog.close();
				});
			});
		</script>
        <link href="../Public/style/common.css" rel="stylesheet" />
        <style type="text/css">
        	body			{text-align:left;background:#fff;}
        </style>
	</head>
	<body>
		<div style="padding:25px 0px 0px 25px;">
			<img src="{$thumb_photo_exists}" />
			<p style="margin-top: 15px;">
				<?php
					if ( isset( $_REQUEST['custom'] ) && $_REQUEST['custom'] == 'video' ){
				?>
				<input type="button" onclick="window.location.href='__URL__/alldelete/custom/video';" class="SiteAllButton" value="重新上传" />&nbsp;&nbsp;&nbsp;
				<input type="button" onclick="window.location.href='__URL__/thumbdelete/custom/video';" class="SiteAllButton" value="重新裁切" />&nbsp;&nbsp;&nbsp;
				<?php
					}else{
				?>
				<input type="button" onclick="window.location.href='__URL__/alldelete';" class="SiteAllButton" value="重新上传" />&nbsp;&nbsp;&nbsp;
				<input type="button" onclick="window.location.href='__URL__/thumbdelete';" class="SiteAllButton" value="重新裁切" />&nbsp;&nbsp;&nbsp;
				<?php
					}
				?>
				
				<input type="button" id="thumb_submit" value="确定" />
			</p>
		</div>
	</body>
</html>